package com.yf.mapper;

import com.yf.entity.Employee;

import java.util.List;

public interface EmployeeMapper {

    void addEmployee(Employee employee);

    void deleteEmployee(Integer empId);

    void updateEmployee(Employee employee);

    Employee getEmployeeByEmployeeId(Integer empId);

    List<Employee> getEmployeeList();

    /**
     * 通过哦员工名获取信息
     * @param empName
     * @return
     */
    Employee getEmployeeByName(String empName);


}
